Added get_height_for_width/get_width_for_height implementation to GtkBox.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 10 Apr 2010 01:50:33 +0000 (21:50 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 10 Apr 2010 01:50:33 +0000 (21:50 -0400)
commit1041a186c73d705e6aecad1b8c288083e3eaf278
tree039fd67b075627c2c7515fed884577fe75d533b5
parent35e2dfce08b00577590c0bdc0d67366689449cc1
Added get_height_for_width/get_width_for_height implementation to GtkBox.

In order for natural size information to cascade correctly up through
the ancestry GtkBox needs to report height-for-width and width-for-height,
this patch includes an implementation for both in both orientations, one
of them is commented for now as its much too cpu intensive to actually use.
gtk/gtkbox.c